<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: MNNFaceDetection/iOS/MNNFaceDetection/Pods/MNNKitCore/MNNKitCore.framework/Headers/CommonDef.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNN Kit SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ff51bd0b7841751e6292791fdaa2b577.html">MNNFaceDetection</a></li><li class="navelem"><a class="el" href="dir_afc4351b0ff58faa23b45bf1feab612f.html">iOS</a></li><li class="navelem"><a class="el" href="dir_3aa9bd88010d07c3276bd22be45efe2a.html">MNNFaceDetection</a></li><li class="navelem"><a class="el" href="dir_2455bb6014d6030fbf6ab7e5d1a85dd5.html">Pods</a></li><li class="navelem"><a class="el" href="dir_05bf780b5c99755c09e9556c20a8e82f.html">MNNKitCore</a></li><li class="navelem"><a class="el" href="dir_8ef09377d20b0bf7ec1b1670d48b0ccf.html">MNNKitCore.framework</a></li><li class="navelem"><a class="el" href="dir_e9fbe21582fe0f333f4c0aa90f97fab8.html">Headers</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">CommonDef.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_common_def_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  CommonDef.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  MNNKitCore</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by tsia on 2019/12/3.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2019 tsia. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifndef CommonDef_h</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#define CommonDef_h</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="_common_def_8h.html#a5cfb66c6a193680a08aca8bda3b43212">   16</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="_common_def_8h.html#a5cfb66c6a193680a08aca8bda3b43212">NS_ENUM</a>(NSUInteger, MNNCVImageFormat) {</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a> = 0,</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d">RGB</a> = 1,</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae">BGR</a> = 2,</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114">GRAY</a> = 3,</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979">BGRA</a> = 4,</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca">YUV_NV21</a> = 11,</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;};</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_common_def_8h.html#ab837ab78a2be4ac1acef1225763077b4">   26</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="_common_def_8h.html#a5cfb66c6a193680a08aca8bda3b43212">NS_ENUM</a>(NSUInteger, MNNFlipType) {</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    FLIP_NONE = 0,</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    FLIP_X = 1,</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    FLIP_Y = 2,</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    FLIP_XY = 3,</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;};</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CommonDef_h */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="a_common_def_8h_html_a5cfb66c6a193680a08aca8bda3b43212"><div class="ttname"><a href="_common_def_8h.html#a5cfb66c6a193680a08aca8bda3b43212">NS_ENUM</a></div><div class="ttdeci">typedef NS_ENUM(NSUInteger, MNNCVImageFormat)</div><div class="ttdef"><b>Definition:</b> CommonDef.h:16</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca">MNN::CV::YUV_NV21</a></div><div class="ttdeci">@ YUV_NV21</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:24</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979">MNN::CV::BGRA</a></div><div class="ttdeci">@ BGRA</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:23</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d">MNN::CV::RGB</a></div><div class="ttdeci">@ RGB</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:20</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae">MNN::CV::BGR</a></div><div class="ttdeci">@ BGR</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:21</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114">MNN::CV::GRAY</a></div><div class="ttdeci">@ GRAY</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:22</div></div>
<div class="ttc" id="anamespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">MNN::CV::RGBA</a></div><div class="ttdeci">@ RGBA</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:19</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
